package cn.jly.entity;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * @PackageName cn.jly.entity
 * @ClassName Data
 * @Description data
 * @Author 姬岚洋
 * @Date 2021/1/11 下午 1:38
 */
@XStreamAlias("data")
public class Data {
    @XStreamAlias("name")
    private String name;
    @XStreamAlias("value")
    private String value;

    public Data(String name) {
        this.name = name;
    }

    public Data(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Data{" +
                "name='" + name + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}
